﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace PwjCy.Lite.Storage
{
    /// <summary>
    /// 存储过程调用接口
    /// </summary>
    public interface ICallableStatement : IPreparedStatement, IStatement
    {
        bool GetBoolean(string name);
        byte GetByte(string name);
        char GetChar(string name);
        decimal GetDecimal(string name);
        double GetDouble(string name);
        float GetFloat(string name);
        short GetInt16(string name);
        int GetInt32(string name);
        long GetInt64(string name);
        string GetString(string name);
        object GetValue(string name);
        void RegisterInOutParameter(string name, DbType type, int len);
        void RegisterOutParameter(string name, DbType type, int len);
        void RegisterReturnParameter(string name, DbType type, int len);
    }
}
